package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.bxscn;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;

public class BXSCNBatteryInfoResponse extends SecurityResponse<BXSCNBatteryInfoResponse.Body> {

    private static final long serialVersionUID = 1L;

	public BXSCNBatteryInfoResponse() {
        this.body = new Body();
    }

    public BXSCNBatteryInfoResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public BXSCNBatteryInfoResponse(Integer code, String msg) {
        super(code, msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		private String deviceSn;
        private String type;
        private String typeName;

        private String versionNumber;
        private Integer batteryPower;
        private Integer leaseType;
        private String leaseTypeName;

        private Long placeId;
        private String placeName;
        private String placeAreaName;

        private String cabinetDeviceSn;
        private Integer slotNum;
        private Double power;

        private String currentTradeNo;
        private Integer state;
        private String stateName;

        private Date lastHeartDate;
        private Date lastLeaseDate;
        private Date belongDate;
        private Date createDate;

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public String getVersionNumber() {
            return versionNumber;
        }

        public void setVersionNumber(String versionNumber) {
            this.versionNumber = versionNumber;
        }

        public Integer getBatteryPower() {
            return batteryPower;
        }

        public void setBatteryPower(Integer batteryPower) {
            this.batteryPower = batteryPower;
        }

        public Integer getLeaseType() {
            return leaseType;
        }

        public void setLeaseType(Integer leaseType) {
            this.leaseType = leaseType;
        }

        public String getLeaseTypeName() {
            return leaseTypeName;
        }

        public void setLeaseTypeName(String leaseTypeName) {
            this.leaseTypeName = leaseTypeName;
        }

        public Long getPlaceId() {
            return placeId;
        }

        public void setPlaceId(Long placeId) {
            this.placeId = placeId;
        }

        public String getPlaceName() {
            return placeName;
        }

        public void setPlaceName(String placeName) {
            this.placeName = placeName;
        }

        public String getPlaceAreaName() {
            return placeAreaName;
        }

        public void setPlaceAreaName(String placeAreaName) {
            this.placeAreaName = placeAreaName;
        }

        public String getCabinetDeviceSn() {
            return cabinetDeviceSn;
        }

        public void setCabinetDeviceSn(String cabinetDeviceSn) {
            this.cabinetDeviceSn = cabinetDeviceSn;
        }

        public Integer getSlotNum() {
            return slotNum;
        }

        public void setSlotNum(Integer slotNum) {
            this.slotNum = slotNum;
        }

        public Double getPower() {
            return power;
        }

        public void setPower(Double power) {
            this.power = power;
        }

        public String getCurrentTradeNo() {
            return currentTradeNo;
        }

        public void setCurrentTradeNo(String currentTradeNo) {
            this.currentTradeNo = currentTradeNo;
        }

        public Integer getState() {
            return state;
        }

        public void setState(Integer state) {
            this.state = state;
        }

        public String getStateName() {
            return stateName;
        }

        public void setStateName(String stateName) {
            this.stateName = stateName;
        }

        public Date getLastHeartDate() {
            return lastHeartDate;
        }

        public void setLastHeartDate(Date lastHeartDate) {
            this.lastHeartDate = lastHeartDate;
        }

        public Date getLastLeaseDate() {
            return lastLeaseDate;
        }

        public void setLastLeaseDate(Date lastLeaseDate) {
            this.lastLeaseDate = lastLeaseDate;
        }

        public Date getBelongDate() {
            return belongDate;
        }

        public void setBelongDate(Date belongDate) {
            this.belongDate = belongDate;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }
    }
}

